package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * 医生工作室对象 doctor_studio
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("医生工作室-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "doctor_studio")
public class DoctorStudioEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 所属医生ID
	 */
	@ApiModelProperty("所属医生ID")
	private Long belongPerson;

	/**
	 * 工作室名称
	 */
	@ApiModelProperty("工作室名称")
	private String dsName;

	/**
	 * 工作室描述
	 */
	@ApiModelProperty("工作室描述")
	private String description;

	/**
	 * 1 开启 2 关闭
	 */
	@ApiModelProperty("1 开启 2 关闭")
	private String state;

	/**
	 * 创建时间
	 */
	@ApiModelProperty("创建时间")
	private Date createTime;

}
